import request from '~/utils/request';

export function getAdvertList(data) {
    return request({
        url: '/Advert/GetAdvertList',
        method: 'post',
        data,
    });
}

export function getAdvertInfo(data) {
    return request({
        url: '/Advert/GetAdvertInfo',
        method: 'post',
        data,
    });
}

export function saveAdvertInfo(data) {
    return request({
        url: '/Advert/SaveAdvertInfo',
        method: 'post',
        data,
    });
}

export function setAdvertSort(data) {
    return request({
        url: '/Advert/SetAdvertSort',
        method: 'post',
        data,
    });
}

export function setAdvertState(data) {
    return request({
        url: '/Advert/SetAdvertState',
        method: 'post',
        data,
    });
}

export function getAdvertShare() {
    return request({
        url: '/Advert/GetAdvertShare',
        method: 'post',
    });
}

export function saveAdvertShare(data) {
    return request({
        url: '/Advert/SaveAdvertShare',
        method: 'post',
        data,
    });
}

export function delAdvertShare(data) {
    return request({
        url: '/Advert/DelAdvertShare',
        method: 'post',
        data,
    });
}

export function getMarketSmsList(data) {
    return request({
        url: '/Advert/GetMarketSmsList',
        method: 'post',
        data,
    });
}

export function getMarketSmsInfo(data) {
    return request({
        url: '/Advert/GetMarketSmsInfo',
        method: 'post',
        data,
    });
}

export function getMarketSmsProjectList(data) {
    return request({
        url: '/Advert/GetMarketSmsProjectList',
        method: 'post',
        data,
    });
}

export function getMarketSmsOwnerList(data) {
    return request({
        url: '/Advert/GetMarketSmsOwnerList',
        method: 'post',
        data,
    });
}

export function saveMarketSmsInfo(data) {
    return request({
        url: '/Advert/SaveMarketSmsInfo',
        method: 'post',
        data,
    });
}

export function setMarketSmsState(data) {
    return request({
        url: '/Advert/SetMarketSmsState',
        method: 'post',
        data,
    });
}

export function sendMarketSms(data) {
    return request({
        url: '/Advert/SendMarketSms',
        method: 'post',
        data,
    });
}
